<template>
	<view class="fwcontainer">
		<view class="uni-flex uni-column page-list">
			 <view class="uni-flex uni-row page-list-item">
				 <text class="text label">技术员</text>
				 <text class="text euni-flex-autowidth">{{dataPageObj.tech_coder}}</text>
			 </view>
			 <view class="uni-flex uni-row page-list-item">
				 <text class="text label">技术官网</text>
				 <text class="text euni-flex-autowidth">{{dataPageObj.tech_website}}</text>
			 </view>
			 <view class="uni-flex uni-row page-list-item">
				 <text class="text label">技术电话</text>
				 <text class="text euni-flex-autowidth">{{dataPageObj.tech_phone}}</text>
			 </view>
			 <view class="uni-flex uni-row page-list-item">
				 <text class="text label">技术邮箱</text>
				 <text class="text euni-flex-autowidth">{{dataPageObj.tech_email}}</text>
			 </view>
		</view>
	</view>
</template>

<script>
	const APP = getApp();

	export default {
		components: {
			
		},
		data() {
			return {
				//设置数据
				dataPageObj:{}
			}
		},
		methods: {			
			loadPageData: function(completedcallback) {
				let _this = this;
				APP._post('/api/owner/technology', {}, null, function(res) {
					//执行成功
					if (res.code === APP.appconfig.fwcode.successed) {
						_this.dataPageObj = res.data;
					} else {
						APP.apptool.showToastInfo(res.msg);
					}
				}, function(res) {
					//执行失败
				}, function(res) {
					//执行完成
					completedcallback && completedcallback();
				});
			},
		},
		//生命周期
		onLoad() {
			this.loadPageData(null);
		},
		onShow() {

		},
		onReady() {

		},
		onPullDownRefresh() {
			this.loadPageData(function(){
				uni.stopPullDownRefresh();
			});
		},
		onReachBottom() {
			
		},
		onHide() {

		},
		onUnload() {

		},
		onBackPress(options) {

		},
		onPageScroll(e) {

		},
	}
</script>


<style>
	.page-list{
		width: 100%;
	}
	.page-list .page-list-item{
		padding: 20rpx 20rpx;
		border-bottom: 0.5rpx solid #DDDDDD;
		background-color: #FFFFFF;
	}
	.page-list-item .label{
		font-weight: bolder;
		margin-right: 20rpx !important;
	}
</style>

